const accessMenu = [
  {
    path: '/index',
    name: 'index',
    title: '首页',
    icon: 'el-icon-s-home'
  }, {
    path: '/goods',
    name: 'goods',
    title: '商品管理',
    icon: 'el-icon-s-operation',
    children: [{
      path: '/index/goodGroup',
      name: 'goodGroup',
      title: '商品分组',
      icon: 'el-icon-s-operation'
    }, {
      path: '/index/goodList',
      name: 'addGood',
      title: '商品列表',
      icon: 'el-icon-s-operation'
    }, {
      path: '/index/goodFQA',
      name: 'goodFQA',
      title: '商品FQA',
      icon: 'el-icon-s-operation'
    }, {
      path: '/index/goodProduce',
      name: 'goodProduce',
      title: '商品介绍',
      icon: 'el-icon-s-operation'
    }]
  }, {
    path: '/order',
    name: 'order',
    title: '订单管理',
    icon: 'el-icon-s-operation',
    children: [{
      path: '/index/orderList',
      name: 'orderList',
      title: '订单列表',
      icon: 'el-icon-s-operation'
    }]
  }
]

const menu = {
  namespaced: true,
  state: {
    accessMenu: accessMenu
  },
  getters: {},
  mutations: {
  },
  actions: {
  }
}

export default menu
